home *** CD-ROM | disk | FTP | other *** search
- diff -ur xntp3-5.93/ChangeLog xntp3-5.93a/ChangeLog
- --- xntp3-5.93/ChangeLog Sat Apr 25 18:02:13 1998
- +++ xntp3-5.93a/ChangeLog Thu Apr 30 00:07:00 1998
- @@ -1,3 +1,14 @@
- +Wed Apr 29 19:04:51 1998 Harlan Stenn <stenn@whimsy.udel.edu>
- +
- + * configure.in: 5.93a
- +
- + * libntp/machines.c: Ordering of settime() stuff was wrong.
- + Reported by: Michael Joosten <joost@c-lab.de>
- +
- + * configure.in: Clean up the stub detect cases for SCO.
- + * xntpd/ntp_timer.c: Applied some lost timerqueue patches.
- + From: Kamal A Mostafa <kamal@images.com>
- +
- Sat Apr 25 18:02:00 1998 Harlan Stenn <stenn@whimsy.udel.edu>
-
- * configure.in: 5.93
- diff -ur xntp3-5.93/configure xntp3-5.93a/configure
- --- xntp3-5.93/configure Sat Apr 25 18:02:36 1998
- +++ xntp3-5.93a/configure Wed Apr 29 23:34:06 1998
- @@ -787,7 +787,7 @@
-
- PACKAGE=xntp3
-
- -VERSION=5.93
- +VERSION=5.93a
-
- if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
- { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
- @@ -3964,7 +3964,7 @@
- done
-
- case "$target" in
- - *-*-sco3.2v45*)
- + *-*-sco3.2v5.0.*)
- # Just stubs in SCO. Idiots.
- ;;
- *) for ac_func in mkstemp
- @@ -4028,7 +4028,7 @@
- *-*-irix*)
- # Just stubs in Irix. Idiots.
- ;;
- - *-*-sco3.2v45*)
- + *-*-sco3.2v5.0.*)
- # Just stubs in SCO. Idiots.
- ;;
- *) for ac_func in mlockall
- diff -ur xntp3-5.93/configure.in xntp3-5.93a/configure.in
- --- xntp3-5.93/configure.in Sat Apr 25 18:01:54 1998
- +++ xntp3-5.93a/configure.in Wed Apr 29 23:33:18 1998
- @@ -1,7 +1,7 @@
- dnl -*-fundamental-*-
- dnl Process this file with autoconf to produce a configure script.
- AC_INIT(xntpd/ntp_refclock.c)
- -AM_INIT_AUTOMAKE(xntp3, 5.93)
- +AM_INIT_AUTOMAKE(xntp3, 5.93a)
- AC_CANONICAL_SYSTEM
- AC_DEFINE_UNQUOTED(STR_SYSTEM, "$target")
- AM_CONFIG_HEADER(config.h)
- @@ -410,7 +410,7 @@
- AC_CHECK_FUNCS(clock_settime daemon getbootfile getdtablesize getrusage)
- AC_CHECK_FUNCS(gettimeofday getuid K_open kvm_open memcpy memmove memset)
- case "$target" in
- - *-*-sco3.2v[45]*)
- + *-*-sco3.2v5.0.*)
- # Just stubs in SCO. Idiots.
- ;;
- *) AC_CHECK_FUNCS(mkstemp)
- @@ -420,7 +420,7 @@
- *-*-irix*)
- # Just stubs in Irix. Idiots.
- ;;
- - *-*-sco3.2v[45]*)
- + *-*-sco3.2v5.0.*)
- # Just stubs in SCO. Idiots.
- ;;
- *) AC_CHECK_FUNCS(mlockall)
- Only in xntp3-5.93a/html: copyright.html.orig
- diff -ur xntp3-5.93/libntp/machines.c xntp3-5.93a/libntp/machines.c
- --- xntp3-5.93/libntp/machines.c Mon Aug 11 01:13:49 1997
- +++ xntp3-5.93a/libntp/machines.c Wed Apr 29 22:09:50 1998
- @@ -112,10 +112,7 @@
- }
- #endif /* SYS_PTX */
-
- -#ifdef HAVE_SETTIMEOFDAY
- -const char *set_tod_using = "settimeofday";
- -#else /* not HAVE_SETTIMEOFDAY */
- -# ifdef HAVE_CLOCK_SETTIME
- +#ifdef HAVE_CLOCK_SETTIME
- const char *set_tod_using = "clock_settime";
-
- /*#include <time.h> */
- @@ -134,6 +131,9 @@
- return clock_settime(CLOCK_REALTIME, &ts);
- }
-
- +#else /* not HAVE_CLOCK_SETTIME */
- +# ifdef HAVE_SETTIMEOFDAY
- +const char *set_tod_using = "settimeofday";
- # else /* not (HAVE_SETTIMEOFDAY || HAVE_CLOCK_SETTIME) */
- # ifdef HAVE_STIME
- char *set_tod_using = "stime";
- @@ -146,9 +146,11 @@
- return (stime(&tvp->tv_sec)); /* lie as bad as SysVR4 */
- }
-
- +# else
- +# include <Bletch: How do we set the time here?>
- # endif /* HAVE_STIME */
- # endif /* not (HAVE_SETTIMEOFDAY || HAVE_CLOCK_SETTIME) */
- -#endif /* not HAVE_SETTIME */
- +#endif /* not HAVE_CLOCK_SETTIME */
-
-
- #else /* SYS_WINNT */
- Only in xntp3-5.93a/patches/done: 191
- diff -ur xntp3-5.93/xntpd/ntp_timer.c xntp3-5.93a/xntpd/ntp_timer.c
- --- xntp3-5.93/xntpd/ntp_timer.c Fri Apr 24 19:42:46 1998
- +++ xntp3-5.93a/xntpd/ntp_timer.c Thu Apr 30 00:05:37 1998
- @@ -542,9 +542,10 @@
- */
- void TIMER_DEQUEUE(struct event *ev)
- {
- - EV_LINKCHK( ev, "TIMER_DEQUEUE(): ev" );
- + EV_ASSERT( ev, "TIMER_DEQUEUE(): ev" );
- WINNT_WAIT();
- if ((ev)->next != 0) {
- + EV_LINKCHK( ev, "TIMER_DEQUEUE(): ev" );
- (ev)->next->prev = (ev)->prev;
- (ev)->prev->next = (ev)->next;
- (ev)->next = (ev)->prev = 0;
-